std::array::back
From Cppreference
| C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Containers library | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| std::array | |||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||
| reference back();
| (C++11 feature) | |
| const_reference back() const;
| (C++11 feature) | |
Returns reference to the last element in the container.
Contents |
[edit] Parameters
(none)
[edit] Return value
reference to the last element
[edit] Complexity
constant
[edit] See also
| access the first element (public member function) | |